projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4c7869
)
; Fix typo in previous patch.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Apr 2016 05:34:01 +0000
(22:34 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 5 Apr 2016 05:34:01 +0000
(22:34 -0700)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index bcedd7f5eeb11c6e7f70ec974c8f43415aeb6cac..17cb77e28dfd994f55ca05def0ddbf30c1dd83dd 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-8420,7
+8420,7
@@
Lisp_Object
from_unicode_buffer (const wchar_t *wstr)
{
/* We get one of the two final null bytes for free. */
- p
rt
diff_t len = 1 + sizeof (wchar_t) * wcslen (wstr);
+ p
tr
diff_t len = 1 + sizeof (wchar_t) * wcslen (wstr);
AUTO_STRING_WITH_LEN (str, (char *) wstr, len);
return from_unicode (str);
}